package javacode.org.ssh.dao.hibernate;


import javacode.org.ssh.common.base.dao.hibernate.BaseDaoHibernate;
import javacode.org.ssh.dao.CoreUserDao;
import javacode.org.ssh.entry.CoreUser;

import org.springframework.stereotype.Component;

@Component (value="coreUserDao") 
public class CoreUserDaoHibernate extends BaseDaoHibernate<CoreUser, Long> implements CoreUserDao  {
	
	@Override
	public CoreUser save(CoreUser coreUser) {
		CoreUser coreUser2 = super.save(coreUser);
		System.out.println("aready saved! id is "+coreUser2.getCoreUserId());
		return coreUser2;
		
	}

}
